<template>
  <div class="docmate">
    <p>当前医生还未开通医生卡哦～</p>
    <dl>
      <dt>
        <img src="../assets/service.png" alt />
      </dt>
      <dd>请与名医在线客服中心联系</dd>
      <dd>
        联系电话：
        <span>4008007202</span>
      </dd>
    </dl>
    <button class="btnback" @click="goback">返回</button>
  </div>
</template>

<script>
export default {
  data(){
    return {}
  },
  methods:{
    goback(){
      setTimeout(()=>{
        document.addEventListener('WeixinJSBridgeReady',function(){
          WeixinJSBridge.call("closeWindow");
        },false);
        WeixinJSBridge.call("closeWindow");
      },500)
    }
  }
};
</script>
<style scoped>
.docmate{
  text-align: center;
}
.docmate > p {
  font-size: 36px;
  text-align: center;
  line-height: 50px;
  margin: 50px 0;
}
.docmate img {
  width: 300px;
  margin-bottom: 20px;
}
.docmate dd {
  font-size: 28px;
  margin-bottom: 15px;
}
.docmate span {
  color: #007cff;
}
.btnback {
  display: inline-block;
  width: 550px;
  height: 100px;
  line-height: 100px;
  color: #ffffff;
  font-size: 38px;
  font-weight: 500;
  border-radius: 60px;
  background: linear-gradient(135deg, #31c1ff, #007cff);
  box-shadow: 0px 10px 20px 0px rgba(0, 124, 255, 0.5);
  letter-spacing: 20px;
  margin-top: 70px;
  border: none;
}
</style>